<script setup>
</script>

<template>
  <router-link to="/index">首页</router-link>||
  <router-link to="/category">商品分类</router-link>||
  <router-link to="/cart">购物车</router-link>||
  <!-- <router-link to="/product">商品详情</router-link>|| -->
  <router-link to="/user">我的</router-link>
    <!-- 通过路由获取的组件在这里展示 -->
  <router-view></router-view>
</template>

<style scoped>
.active{
  color:red;
}
</style>
